package com.yunfei.api.v2.user.valid;

import com.yunfei.api.common.contants.ApiValitationConstantMessage;
import com.yunfei.core.utils.contants.ValitationConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @program: zntg_v1
 * @description:
 * @author: zhengyunfei
 * @create: 2018-10-30 10:48
 **/
@Data
public class QiuZhiValid implements java.io.Serializable{


    @ApiModelProperty(value = "当前页码", required = false)
    @Pattern(regexp= ValitationConstant.NUM_REG, message= ApiValitationConstantMessage.PAGFE_NOW_NUM_REG)
    private String pageNow;

    @ApiModelProperty(value = "关键词", required = false)
    private String quesTit;

    public String getQuesTit() {
        return quesTit;
    }

    public void setQuesTit(String quesTit) {
        this.quesTit = quesTit;
    }

    public String getPageNow() {
        return pageNow;
    }

    public void setPageNow(String pageNow) {
        this.pageNow = pageNow;
    }

}
